package cn.news.pojo;

import java.io.Serializable;
import java.util.Date;

public class News implements Serializable {
    private Integer newsId;      //新闻编号
    private Integer catagoryId;  //新闻分类编号
    private String title;       //新闻标题
    private String summary;     //新闻摘要
    private  String author;     //作者
    private Date creaateDate;   //date创建时间
    private Date updateDate;    //date更新时间
    private String catagoryName;   //新闻分类名称

    public String getCatagoryName() {
        return catagoryName;
    }

    public void setCatagoryName(String catagoryName) {
        this.catagoryName = catagoryName;
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Integer getCatagoryId() {
        return catagoryId;
    }

    public void setCatagoryId(Integer catagoryId) {
        this.catagoryId = catagoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getCreaateDate() {
        return creaateDate;
    }

    public void setCreaateDate(Date creaateDate) {
        this.creaateDate = creaateDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
